<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
</html>
<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title></title>
</head>
<body>
	<div class="playvideoid">
		
	</div>
	<script src="js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
	
		<script src="lib/ckplayer/ckplayer.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var videoObject = {
				container: '.playvideoid', //“#”代表容器的ID，“.”或“”代表容器的class
				variable: 'player', //该属性必需设置，值等于下面的new chplayer()的对象
				autoplay: true,
				html5m3u8: true,
				video: getQueryString('url')
			};
			var player = new ckplayer(videoObject);
			
			
			function getQueryString(name) {
				//获取地址栏参数
				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
				var r = window.location.search.substr(1).match(reg);
				if (r != null) return unescape(r[2]);
				return null;
			}
			
		</script>
</body>
</html>